package com.wzdigit.wms.hm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzdigit.framework.orm.mybatis.MyBatisRepository;
import com.wzdigit.wms.hm.domain.Goods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@MyBatisRepository
public interface GoodsMapper extends BaseMapper<Goods> {

//	List<SnInforDto> selectSnsBySnOrPalletId(@Param("sn")String sn, @Param("palletId") Integer palletId);

	Integer selectPkgIdBySn(@Param("sn") String sn);

//	String selectUrlById(@Param("pkgId") Integer pkgId);

	void updatePkgIdAndStatusAndWhsIdBySnList(List<String> snList, Integer goodsPkgId, Integer status, Integer whsId,
											  String modifyUser);
}
